/**
 * @Company: 北京慧点科技有限公司 | www.smartdot.com.cn
 * @Copyright 1998-2020 © Smartdot Technologies Co., Ltd.
 */
package com.springlearn.zhoufei.other.spring.demo4;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class HelloAOP2_TEST {
    public static void main(String[] args) {
        
        ApplicationContext context = new ClassPathXmlApplicationContext("./other/AOP2.xml");
        HelloAOP2 HelloAOP2 = (HelloAOP2) context.getBean("HelloAOP2");
        HelloAOP2.setAge(111);
        System.out.println("----------------");
        HelloAOP2.getAge();
        // System.out.println("----------------");
        // HelloAOP1.printThrowException();
    }
}